de-duplicate format setup in find_vec (#997)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 8 Feb 2023 15:34:41 +0000 (08:34 -0700)
committerGitHub <noreply@github.com>
Wed, 8 Feb 2023 15:34:41 +0000 (08:34 -0700)
commit6ac5bd032b8a82a5c62a6fc2a9edeb357b231007
treee7405ade8a95db519cc32141f4503cb8d5ded17f
parent78563078edf12268f39298147a7517ee57c63ead
de-duplicate format setup in find_vec (#997)

* de-duplicate format setup in find_vec

* create a class to pass format info pack and forth from vecs.

This simplifies re-initialization of a format, which main already
did in a few cases.

The operator overloads for the format info class make the transition
simplier.

* return empty braced init list from find_vecs when not found.
format.h
garmin.cc
main.cc
vecs.cc
vecs.h